package com.gxa.ssm251.proxy.cglibproxy;

import com.gxa.ssm251.proxy.jdkproxy.UserDao;
import org.springframework.stereotype.Repository;

@Repository("userMapper2")
public class UserMapperImpl2 implements UserDao {
    @Override
    public Integer insert() {
        System.out.println("UserDaoImpl insert");
        return null;
    }

    @Override
    public Integer delete() {
        System.out.println("UserDaoImpl delete");
        return 1;
    }

    @Override
    public Integer update(String name, String password) {
        System.out.println("UserDaoImpl update");
        return 1;
    }
}
